<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<% if (session.getAttribute("admin")==null) response.sendRedirect("login.jsp");%>
    <!--
        ===
        This comment should NOT be removed.

        Charisma v2.0.0

        Copyright 2012-2014 Muhammad Usman
        Licensed under the Apache License v2.0
        http://www.apache.org/licenses/LICENSE-2.0

        http://usman.it
        http://twitter.com/halalit_usman
        ===
    -->
    <meta charset="utf-8">
    <title>首页:酒店管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
    <meta name="author" content="Muhammad Usman">

    <!-- The styles -->
    <link id="bs-css" href="../../../css/bootstrap-cerulean.min.css" rel="stylesheet">

    <link href="../../../css/charisma-app.css" rel="stylesheet">
    <link href='../../../bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
    <link href='../../../bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
    <link href='../../../bower_components/chosen/chosen.min.css' rel='stylesheet'>
    <link href='../../../bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
    <link href='../../../bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
    <link href='../../../bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
    <link href='../../../css/j query.noty.css' rel='stylesheet'>
    <link href='../../../css/noty_theme_default.css' rel='stylesheet'>
    <link href='../../../css/elfinder.min.css' rel='stylesheet'>
    <link href='../../../css/elfinder.theme.css' rel='stylesheet'>
    <link href='../../../css/jquery.iphone.toggle.css' rel='stylesheet'>
    <link href='../../../css/uploadify.css' rel='stylesheet'>
    <link href='../../../css/animate.min.css' rel='stylesheet'>

    <!-- jQuery -->
    <script src="../../../bower_components/jquery/jquery.min.js"></script>

    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="../../../img/favicon.ico">
</head>

<body>
    <!-- topbar starts -->
    <div class="navbar navbar-default" role="navigation">

        <div class="navbar-inner">
            <button type="button" class="navbar-toggle pull-left animated flip">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="index.html"> <img alt="Charisma Logo" src="../../../img/logo20.png" class="hidden-xs"/>
                <span>酒店管理系统</span></a>

            <!-- user dropdown starts -->
            <div class="btn-group pull-right">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-user"></i><span class="hidden-sm hidden-xs"> ${admin.name}</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="../../../user?action=logout">注销登录</a></li>
                </ul>
            </div>
            <!-- user dropdown ends -->
        </div>
    </div>
    <!-- topbar ends -->
<div class="ch-container">
    <div class="row">
        
        <!-- left menu starts -->
        <div class="col-sm-2 col-lg-2">
            <div class="sidebar-nav">
                <div class="nav-canvas">
                    <div class="nav-sm nav nav-stacked">

                    </div>
                    <ul class="nav nav-pills nav-stacked main-menu">
                        <li class="nav-header">功能</li>
                    	    <li><a class="ajax-link" href="../../../backadmin/index.html"><i class="glyphicon glyphicon-home"></i><span> &ensp;首&ensp;页</span></a>
							<li><a class="ajax-link" href="../../../backadmin/admin?action=adminList"><i class="glyphicon glyphicon-cog"></i><span>&ensp;用&ensp;户&ensp;管&ensp;理</span></a>
							<li><a class="ajax-link" href="../../../backadmin/main?action=maintainList"><i class="glyphicon glyphicon-wrench"></i><span> &ensp;订&ensp;单&ensp;管&ensp;理</span></a>
							<li><a class="ajax-link" href="../../../backadmin/notice?action=noticelist"><i class="glyphicon glyphicon-envelope"></i><span> &ensp;个&ensp;人&ensp;管&ensp;理</span></a>
							<li><a class="ajax-link" href="../../../backadmin/inspection?action=inspectionList"><i class="glyphicon glyphicon-info-sign"></i><span> &ensp;收&ensp;益&ensp;统&ensp;计</span></a>
							<li><a class="ajax-link" href="../../../backadmin/custom?action=customAccountList"><i class="glyphicon glyphicon-user"></i><span> &ensp;住&ensp;户&ensp;管&ensp;理</span></a>
							<li><a class="ajax-link" href="../../../backadmin/house?action=houseList"><i class="glyphicon glyphicon-list-alt"></i><span> &ensp;房&ensp;型&ensp;管&ensp;理</span></a>
                        </li>
                    </ul>
                    
                </div>
            </div>
        </div>
        <!--/span-->
        <!-- left menu ends -->

        <noscript>
            <div class="alert alert-block col-md-12">
                <h4 class="alert-heading">Warning!</h4>

                <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
                    enabled to use this site.</p>
            </div>
        </noscript>

        <div id="content" class="col-lg-10 col-sm-10">
            <!-- content starts -->
            <div>
    <ul class="breadcrumb">
        <li>
            <a href="index.html">首页</a>
        </li>
    </ul>
</div>

<div class="row">
    <div class="box col-md-12">
        <div class="box-inner">
            <div class="box-header well">
                <h2><i class="glyphicon glyphicon-bell"></i> 欢迎</h2>

                <div class="box-icon">
                    <a href="#" class="btn btn-minimize btn-round btn-default"><i
                            class="glyphicon glyphicon-chevron-up"></i></a>
                    <a href="#" class="btn btn-close btn-round btn-default"><i
                            class="glyphicon glyphicon-remove"></i></a>
                </div>
            </div>
            <div class="box-content row">
                <div class="col-lg-7 col-md-12">
                    <h1>
					<script language="javaScript">
						now = new Date(),hour = now.getHours()
						if(hour < 6){document.write("凌晨好！${admin.name}")}
						else if (hour < 9){document.write("早上好！${admin.name}")}
						else if (hour < 12){document.write("上午好！${admin.name}")}
						else if (hour < 14){document.write("中午好！${admin.name}")}
						else if (hour < 17){document.write("下午好！${admin.name}")}
						else if (hour < 19){document.write("傍晚好！${admin.name}")}
						else if (hour < 22){document.write("晚上好！${admin.name}")}
						else {document.write("夜里好！${admin.name}")}
					</script>
					<br>
                        <small>欢迎使用酒店管理系统！</small>
                    </h1>
                    <p>请在左侧选择您要进行的操作
                        :)</p>

              <!--      <p><b>All pages in the menu are functional, take a look at all, please share this with your
                            followers.</b></p>   -->

                 <!--    <p class="center-block download-buttons">
                        <a href="http://usman.it/free-responsive-admin-template/" class="btn btn-primary btn-lg"><i
                                class="glyphicon glyphicon-chevron-left glyphicon-white"></i> Back to article</a>
                        <a href="http://usman.it/free-responsive-admin-template/" class="btn btn-default btn-lg"><i
                                class="glyphicon glyphicon-download-alt"></i> Download Page</a>
                    </p> -->
                </div>
            </div>
        </div>
    </div>
</div>




    <!-- content ends -->
    </div><!--/#content.col-md-0-->
</div><!--/fluid-row-->



    <hr>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>Settings</h3>
                </div>
                <div class="modal-body">
                    <p>Here settings can be configured...</p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-default" data-dismiss="modal">Close</a>
                    <a href="#" class="btn btn-primary" data-dismiss="modal">Save changes</a>
                </div>
            </div>
        </div>
    </div>

    <footer class="row">
        <p class="col-md-9 col-sm-9 col-xs-12 copyright">&copy;  2019 - 2021</p>
    </footer>

</div><!--/.fluid-container-->

<!-- external javascript -->
<script src="../../../js/validator.min.js"></script>
<script src="../../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- library for cookie management -->
<script src="../../../js/jquery.cookie.js"></script>
<!-- calender plugin -->
<script src='../../../bower_components/moment/min/moment.min.js'></script>
<script src='../../../bower_components/fullcalendar/dist/fullcalendar.min.js'></script>
<!-- data table plugin -->
<script src='../../../js/jquery.dataTables.min.js'></script>

<!-- select or dropdown enhancer -->
<script src="../../../bower_components/chosen/chosen.jquery.min.js"></script>
<!-- plugin for gallery image view -->
<script src="../../../bower_components/colorbox/jquery.colorbox-min.js"></script>
<!-- notification plugin -->
<script src="../../../js/jquery.noty.js"></script>
<!-- library for making tables responsive -->
<script src="../../../bower_components/responsive-tables/responsive-tables.js"></script>
<!-- tour plugin -->
<script src="../../../bower_components/bootstrap-tour/build/js/bootstrap-tour.min.js"></script>
<!-- star rating plugin -->
<script src="../../../js/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch -->
<script src="../../../js/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin -->
<script src="../../../js/jquery.autogrow-textarea.js"></script>
<!-- multiple file upload plugin -->
<script src="../../../js/jquery.uploadify-3.1.min.js"></script>
<!-- history.js for cross-browser state change on ajax -->
<script src="../../../js/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="../../../js/charisma.js"></script>


</body>
</html>
